| Name | Description | |
|---|---|---|
![]() | asInputStream | Returns this stream as a Java java.io.InputStream. (Inherited from com.o2sol.pdf4java.core.io.Stream) |
![]() | asOutputStream | Returns this stream as a Java java.io.OutputStream. (Inherited from com.o2sol.pdf4java.core.io.Stream) |
![]() | close | Closes the stream. |
![]() | copyFrom | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.io.Stream) |
![]() ![]() | createNew | Creates a new file for writing |
![]() | flush | Clears all buffers for this stream and causes any buffered data to be written to the underlying device. |
![]() | getLength | Gets the length in bytes of the stream. |
![]() | getPosition | Gets the position within the current stream. |
![]() ![]() | openRead | Opens the specifies file for reading. |
![]() ![]() | openWrite | Opens the specifies file for writing. |
![]() | read | Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. |
![]() ![]() | readAllBytes | Reads the content of the given file and returns it as a byte array.. |
![]() | readByte | Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. |
![]() | seek | Sets the position within the current stream. |
![]() | setLength | Sets the length of the current stream. |
![]() | setPosition | Sets the position within the current stream. |
![]() | write | Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. |
![]() | writeByte | Writes a byte to the current position in the stream and advances the position within the stream by one byte. |

